package com.storm.future.config;

import com.storm.future.registry.RedAlertRegistry;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 注解@EnableAspectJAutoProxy中包含了Import属性，该属性引入了新的registry。
 * @author gu
 * @date 2020/3/3 10:06
 */

@ComponentScan("com.storm.future")
@EnableAspectJAutoProxy(proxyTargetClass = true)
@RedAlertRegistry
@EnableTransactionManagement
public class MainConfig {
}
